<?php

namespace App\Http\Controllers\Merchant;

use App\CommissionConfig;
use App\Http\Response;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class ServiceFeeController extends Controller
{
    use Response;
    public function index(Request $request)
    {
        $data=CommissionConfig::whereHas('level_users')->with('level_users')->where('mch_id',auth('merchant')->id())->get();
        return $this->success(200,$data);
    }
}
